package georah.map.tools
{

	import georah.carto.geometries.OGCPoint;

	/**
	 *
	 * @author yuanm
	 */
	public final class PointQueryEvent extends MapToolEvent
	{
		public static const IDENTIFY:String="pointQueryIdentify";

		public static const IDENTIFY_FAULT:String="pointQueryIdentifyFault";

		public static const IDENTIFY_RESULT:String="pointQueryIdentifyResult";

		public function PointQueryEvent(type:String, where_:OGCPoint, result_:String="", format_:String="text/plain")
		{
			super(type);

			_where=where_;
			_result=result_;
			_format=format_;
		}

		private var _format:String=null;

		private var _result:String=null;

		private var _where:OGCPoint=null;

		public final function get format():String
		{
			return _format;
		}

		public final function get result():String
		{
			return _result;
		}

		public final function get where():OGCPoint
		{
			return _where;
		}

	}
}